const expect=require('chai').expect;

describe('oneOf(list)',()=>{
    it('base',()=>{
        expect(3).oneOf([3,2,1]);
    });

    var three=[3];
    it('严格相等',()=>{
        expect(three).oneOf([1,2,three]);
    });

    it('严格相等2',()=>{
        expect(three).oneOf([1,[3]]);
    });

});